# 字典推导式
# dic = {"a": "1", "b": "2"}

# 把字典的 key 和 value 互换   {"1": "a", "2": "b"}


# new_dict = {dic[key]: key for key in dic}
# print(new_dict)


lst1 = ["alex", "wusir", "taibai", "ritian"]
lst2 = ['sb', "很色", "很白", "很牛"]
# {"alex":"sb", "wusir":"很色"}

result = {lst1[i]: lst2[i] for i in range(min(len(lst1), len(lst2)))}
print(result)